package com.data.common.util.jsonschema.validate;

import com.alibaba.fastjson.JSONObject;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.data.common.util.jsonschema.BaseColumn;
import com.data.common.util.jsonschema.CommonProperty;
import com.data.modules.online.cgform.util.CgformUtil;
import com.data.modules.online.config.executor.DataBaseConst;

public class LinkDownProperty extends CommonProperty {

    String f26l;

    List<BaseColumn> f27m;

    public String getDictTable() {
        return this.f26l;
    }

    public void setDictTable(String dictTable) {
        this.f26l = dictTable;
    }

    public List<BaseColumn> getOtherColumns() {
        return this.f27m;
    }

    public void setOtherColumns(List<BaseColumn> otherColumns) {
        this.f27m = otherColumns;
    }

    public LinkDownProperty() {
    }

    public LinkDownProperty(String key, String title, String dictTable) {
        this.f2b = DataBaseConst.f474i;
        this.f5e = CgformUtil.f245S;
        this.f1a = key;
        this.f6f = title;
        this.f26l = dictTable;
    }

    @Override
    public Map<String, Object> getPropertyJson() {
        HashMap hashMap = new HashMap();
        hashMap.put("key", getKey());
        JSONObject commonJson = getCommonJson();
        commonJson.put("config", JSONObject.parseObject(this.f26l));
        commonJson.put("others", this.f27m);
        hashMap.put("prop", commonJson);
        return hashMap;
    }
}
